home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSITION
/
DENTAS2.LZH
/
GO2.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-02
|
4KB
|
163 lines
Echo off
IF NOT EXIST INPUT.COM GOTO WRONGDR
cls
echo
ECOH Welcome the installation procedure for Dentist's Assistant [TM]!
ECHO [disk 2 of 2]
echo
echo
ECHO Well, we're one half through. The rest is even easier than
ECHO the first part.
echo
ECHO Would you like to the install this program on a Hard Drive?
echo
ECHO [If just starting this process, 'GO' begins it on disk one]
echo
echo
:YESNO
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
GOTO YESNO
:YESNEXT
CLS
ECHO For you to install this program on a hard drive, this disk must be on Drive A.
ECHO Is this floppy on drive A now?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO1
GOTO YESNEXT
:YES1
CLS
ECHO Would you like to install this program on a floppy-based system?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES2
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO END
GOTO YES1
:YES
CLS
echo
ECOH ══════════ Select the Hard drive you want to install the program on: ══════════
echo
echo
echo C = Drive C D = Drive D
echo E = Drive E F = Drive F
echo G = Drive G
:INPUT
echo
echo
INPUT (Pick a letter.)
IF ERRORLEVEL 72 GOTO INPUT
IF ERRORLEVEL 71 GOTO G
IF ERRORLEVEL 70 GOTO F
IF ERRORLEVEL 69 GOTO E
IF ERRORLEVEL 68 GOTO D
IF ERRORLEVEL 67 GOTO C
IF ERRORLEVEL 67 GOTO C
REM IF ERRORLEVEL 66 GOTO B
REM IF ERRORLEVEL 65 GOTO A
GOTO INPUT
:C
CLS
echo
DDR
if ERRORLEVEL 4 INSTALL4 H C E:
if ERRORLEVEL 3 INSTALL4 H C D:
if ERRORLEVEL 2 INSTALL4 H C C:
if ERRORLEVEL 1 INSTALL4 H C B:
if ERRORLEVEL 0 INSTALL4 H C A:
GOTO END
:D
CLS
echo
DDR
if ERRORLEVEL 4 INSTALL4 H D E:
if ERRORLEVEL 3 INSTALL4 H D D:
if ERRORLEVEL 2 INSTALL4 H D C:
if ERRORLEVEL 1 INSTALL4 H D B:
if ERRORLEVEL 0 INSTALL4 H D A:
GOTO END
:E
CLS
echo
DDR
if ERRORLEVEL 4 INSTALL4 H E E:
if ERRORLEVEL 3 INSTALL4 H E D:
if ERRORLEVEL 2 INSTALL4 H E C:
if ERRORLEVEL 1 INSTALL4 H E B:
if ERRORLEVEL 0 INSTALL4 H E A:
GOTO END
:F
CLS
echo
DDR
if ERRORLEVEL 4 INSTALL4 H F E:
if ERRORLEVEL 3 INSTALL4 H F D:
if ERRORLEVEL 2 INSTALL4 H F C:
if ERRORLEVEL 1 INSTALL4 H F B:
if ERRORLEVEL 0 INSTALL4 H F A:
GOTO END
:G
CLS
echo
DDR
if ERRORLEVEL 4 INSTALL4 H G E:
if ERRORLEVEL 3 INSTALL4 H G D:
if ERRORLEVEL 2 INSTALL4 H G C:
if ERRORLEVEL 1 INSTALL4 H G B:
if ERRORLEVEL 0 INSTALL4 H G A:
GOTO END
:NO
CLS
echo
ECHO To install this for a floppy based system, this disk must be on Drive B.
GOTO END
:NO1
CLS
GOTO END
:YES2
CLS
echo
ECHO Beginning with version 4.0 of this program, it will not operate
ECHO on a floppy-based system.
echo
GOTO END
echo
ECHO This disk must be on drive B to manufacture those three disks.
ECHO Each disk must be 720 kb or greater.
ECHO Are you in drive B now?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO3
GOTO YES2
:YES3
CLS
INSTALL4 F 2
:NO3
CLS
echo
echo To install this program, move this disk to drive B and re-execute 'GO2' there.
GOTO END
:NO2
CLS
echo
:WRONGDR
CLS
echo
echo
ECHO Though nothing could be simpler than this install procedure, it does
echo require that you enter the drive name, such as 'A:' or 'B:', followed
echo by the 'Enter' key. After that, please enter 'GO2' again.
echo
GOTO END
:END
echo